export const contentTableConfig = {
  name: "User",
  title: "用户列表",
  storeName: "system",
  propList: [
    {
      field: "name",
      prop: "name",
      label: "用户名",
      minWidth: "100",
    },
    {
      field: "sex",
      prop: "sex",
      label: "性别",
      minWidth: "80",
    },
    {
      field: "realname",
      prop: "realname",
      label: "真实姓名",
      minWidth: "120",
      slotName: "realsname",
    },
    {
      field: "region",
      prop: "region",
      label: "地址",
      minWidth: "120",
    },
    {
      field: "cellphone",
      prop: "cellphone",
      label: "手机号码",
      minWidth: "120",
    },
    {
      field: "status",
      prop: "status",
      label: "状态",
      minWidth: "180",
      slotName: "status",
    },
    {
      field: "department",
      prop: "department",
      label: "部门职位",
      minWidth: "120",
    },
    {
      field: "create",
      prop: "create",
      label: "创建时间",
      minWidth: "250",
      slotName: "createAt",
    },
    {
      field: "update",
      prop: "update",
      label: "更新时间",
      minWidth: "250",
      slotName: "updateAt",
    },
  ],
  isShowIndexColunm: true,
  isShowSelectColunm: true,
  parimary: "parimary",
  danger: "danger",
  labelWidth: "100px",
  labelPosition: "left",
};
export const contentSearchConfig = {
  labelWidth: "110px",
  formItems: [
    {
      field: "id",
      type: "input",
      label: "id",
      placeholder: "请输入id",
    },
    {
      field: "name",
      type: "input",
      label: "用户名",
      placeholder: "请输入用户名",
    },
    {
      field: "realname",
      type: "input",
      label: "真实姓名",
      placeholder: "请输入真实姓名",
    },
    {
      field: "cellphone",
      type: "input",
      label: "手机号码",
      placeholder: "请输入手机号码",
    },
    {
      field: "department",
      type: "input",
      label: "部门",
      placeholder: "请输入部门",
    },
    {
      field: "datepicker",
      type: "datepicker",
      label: "创建时间",
      otherOptions: {
        startPlaceholder: "开始时间",
        endPlaceholder: "结束时间",
        type: "daterange",
      },
    },
  ],
};
